package com.hk.service.order;

import com.hk.commons.HqlFilter;
import com.hk.commons.entity.order.OrderInfo;
import com.hk.commons.utils.order.OrderCreateMsg;


public interface IHuochaiOrder {
	
	public OrderInfo findById(long id);
	
	/**
	 * 创建
	 * 
	 * @param b
	 * @return
	 */
	public OrderCreateMsg create(Long productId, Long userId);

	 
	/**
	 * 更新
	 *
	 */
	public void checkAllOrderInRedis();

	public Boolean updOrderInfo(Long orderId);

	public Long countByFilter(HqlFilter hqlFilter);
	
}
